package com.gupao.alg.alg1;

public class Topic1_ListNode {
    private int data;
    //这里为了操作方便
    public Topic1_ListNode next;

    public Topic1_ListNode(int data) {
        this.data = data;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public Topic1_ListNode getNext() {
        return next;
    }

    public void setNext(Topic1_ListNode next) {
        this.next = next;
    }
}
